3.142 \(\int x^2 \sqrt {a+b \cosh ^{-1}(c x)} \, dx\)

Optimal. Leaf size=213 \[ -\frac {\sqrt {\pi } \sqrt {b} e^{a/b} \text {erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}-\frac {\sqrt {\frac {\pi }{3}} \sqrt {b} e^{\frac {3 a}{b}} \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}-\frac {\sqrt {\pi } \sqrt {b} e^{-\frac {a}{b}} \text {erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}-\frac {\sqrt {\frac {\pi }{3}} \sqrt {b} e^{-\frac {3 a}{b}} \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}+\frac {1}{3} x^3 \sqrt {a+b \cosh ^{-1}(c x)} \]

[Out]

-1/144*exp(3*a/b)*erf(3^(1/2)*(a+b*arccosh(c*x))^(1/2)/b^(1/2))*b^(1/2)*3^(1/2)*Pi^(1/2)/c^3-1/144*erfi(3^(1/2
)*(a+b*arccosh(c*x))^(1/2)/b^(1/2))*b^(1/2)*3^(1/2)*Pi^(1/2)/c^3/exp(3*a/b)-1/16*exp(a/b)*erf((a+b*arccosh(c*x
))^(1/2)/b^(1/2))*b^(1/2)*Pi^(1/2)/c^3-1/16*erfi((a+b*arccosh(c*x))^(1/2)/b^(1/2))*b^(1/2)*Pi^(1/2)/c^3/exp(a/
b)+1/3*x^3*(a+b*arccosh(c*x))^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.79, antiderivative size = 213, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 7, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.438, Rules used = {5664, 5781, 3312, 3307, 2180, 2204, 2205} \[ -\frac {\sqrt {\pi } \sqrt {b} e^{a/b} \text {Erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}-\frac {\sqrt {\frac {\pi }{3}} \sqrt {b} e^{\frac {3 a}{b}} \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}-\frac {\sqrt {\pi } \sqrt {b} e^{-\frac {a}{b}} \text {Erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}-\frac {\sqrt {\frac {\pi }{3}} \sqrt {b} e^{-\frac {3 a}{b}} \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}+\frac {1}{3} x^3 \sqrt {a+b \cosh ^{-1}(c x)} \]

Antiderivative was successfully verified.

[In]

Int[x^2*Sqrt[a + b*ArcCosh[c*x]],x]

[Out]

(x^3*Sqrt[a + b*ArcCosh[c*x]])/3 - (Sqrt[b]*E^(a/b)*Sqrt[Pi]*Erf[Sqrt[a + b*ArcCosh[c*x]]/Sqrt[b]])/(16*c^3) -
 (Sqrt[b]*E^((3*a)/b)*Sqrt[Pi/3]*Erf[(Sqrt[3]*Sqrt[a + b*ArcCosh[c*x]])/Sqrt[b]])/(48*c^3) - (Sqrt[b]*Sqrt[Pi]
*Erfi[Sqrt[a + b*ArcCosh[c*x]]/Sqrt[b]])/(16*c^3*E^(a/b)) - (Sqrt[b]*Sqrt[Pi/3]*Erfi[(Sqrt[3]*Sqrt[a + b*ArcCo
sh[c*x]])/Sqrt[b]])/(48*c^3*E^((3*a)/b))

Rule 2180

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - (c*
f)/d) + (f*g*x^2)/d), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2204

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erfi[(c + d*x)*Rt[b*Log[F], 2
]])/(2*d*Rt[b*Log[F], 2]), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2205

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erf[(c + d*x)*Rt[-(b*Log[F]),
 2]])/(2*d*Rt[-(b*Log[F]), 2]), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 3307

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/(E^(
I*k*Pi)*E^(I*(e + f*x))), x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*k*Pi)*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d
, e, f, m}, x] && IntegerQ[2*k]

Rule 3312

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)]^(n_), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin
[e + f*x]^n, x], x] /; FreeQ[{c, d, e, f, m}, x] && IGtQ[n, 1] && ( !RationalQ[m] || (GeQ[m, -1] && LtQ[m, 1])
)

Rule 5664

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Simp[(x^(m + 1)*(a + b*ArcCosh[c*x])^n)/
(m + 1), x] - Dist[(b*c*n)/(m + 1), Int[(x^(m + 1)*(a + b*ArcCosh[c*x])^(n - 1))/(Sqrt[-1 + c*x]*Sqrt[1 + c*x]
), x], x] /; FreeQ[{a, b, c}, x] && IGtQ[m, 0] && GtQ[n, 0]

Rule 5781

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_.)*((d1_) + (e1_.)*(x_))^(p_.)*((d2_) + (e2_.)*(x_))^(p_
.), x_Symbol] :> Dist[(-(d1*d2))^p/c^(m + 1), Subst[Int[(a + b*x)^n*Cosh[x]^m*Sinh[x]^(2*p + 1), x], x, ArcCos
h[c*x]], x] /; FreeQ[{a, b, c, d1, e1, d2, e2, n}, x] && EqQ[e1 - c*d1, 0] && EqQ[e2 + c*d2, 0] && IntegerQ[p
+ 1/2] && GtQ[p, -1] && IGtQ[m, 0] && (GtQ[d1, 0] && LtQ[d2, 0])

Rubi steps

\begin {align*} \int x^2 \sqrt {a+b \cosh ^{-1}(c x)} \, dx &=\frac {1}{3} x^3 \sqrt {a+b \cosh ^{-1}(c x)}-\frac {1}{6} (b c) \int \frac {x^3}{\sqrt {-1+c x} \sqrt {1+c x} \sqrt {a+b \cosh ^{-1}(c x)}} \, dx\\ &=\frac {1}{3} x^3 \sqrt {a+b \cosh ^{-1}(c x)}-\frac {b \operatorname {Subst}\left (\int \frac {\cosh ^3(x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{6 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \cosh ^{-1}(c x)}-\frac {b \operatorname {Subst}\left (\int \left (\frac {3 \cosh (x)}{4 \sqrt {a+b x}}+\frac {\cosh (3 x)}{4 \sqrt {a+b x}}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{6 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \cosh ^{-1}(c x)}-\frac {b \operatorname {Subst}\left (\int \frac {\cosh (3 x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{24 c^3}-\frac {b \operatorname {Subst}\left (\int \frac {\cosh (x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{8 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \cosh ^{-1}(c x)}-\frac {b \operatorname {Subst}\left (\int \frac {e^{-3 x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{48 c^3}-\frac {b \operatorname {Subst}\left (\int \frac {e^{3 x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{48 c^3}-\frac {b \operatorname {Subst}\left (\int \frac {e^{-x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{16 c^3}-\frac {b \operatorname {Subst}\left (\int \frac {e^x}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{16 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \cosh ^{-1}(c x)}-\frac {\operatorname {Subst}\left (\int e^{\frac {3 a}{b}-\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{24 c^3}-\frac {\operatorname {Subst}\left (\int e^{-\frac {3 a}{b}+\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{24 c^3}-\frac {\operatorname {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{8 c^3}-\frac {\operatorname {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{8 c^3}\\ &=\frac {1}{3} x^3 \sqrt {a+b \cosh ^{-1}(c x)}-\frac {\sqrt {b} e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}-\frac {\sqrt {b} e^{\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}-\frac {\sqrt {b} e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 c^3}-\frac {\sqrt {b} e^{-\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{48 c^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.51, size = 214, normalized size = 1.00 \[ \frac {e^{-\frac {3 a}{b}} \sqrt {a+b \cosh ^{-1}(c x)} \left (9 e^{\frac {4 a}{b}} \sqrt {-\frac {a+b \cosh ^{-1}(c x)}{b}} \Gamma \left (\frac {3}{2},\frac {a}{b}+\cosh ^{-1}(c x)\right )+\sqrt {3} \sqrt {\frac {a}{b}+\cosh ^{-1}(c x)} \Gamma \left (\frac {3}{2},-\frac {3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )+9 e^{\frac {2 a}{b}} \sqrt {\frac {a}{b}+\cosh ^{-1}(c x)} \Gamma \left (\frac {3}{2},-\frac {a+b \cosh ^{-1}(c x)}{b}\right )+\sqrt {3} e^{\frac {6 a}{b}} \sqrt {-\frac {a+b \cosh ^{-1}(c x)}{b}} \Gamma \left (\frac {3}{2},\frac {3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )\right )}{72 c^3 \sqrt {-\frac {\left (a+b \cosh ^{-1}(c x)\right )^2}{b^2}}} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[x^2*Sqrt[a + b*ArcCosh[c*x]],x]

[Out]

(Sqrt[a + b*ArcCosh[c*x]]*(9*E^((4*a)/b)*Sqrt[-((a + b*ArcCosh[c*x])/b)]*Gamma[3/2, a/b + ArcCosh[c*x]] + Sqrt
[3]*Sqrt[a/b + ArcCosh[c*x]]*Gamma[3/2, (-3*(a + b*ArcCosh[c*x]))/b] + 9*E^((2*a)/b)*Sqrt[a/b + ArcCosh[c*x]]*
Gamma[3/2, -((a + b*ArcCosh[c*x])/b)] + Sqrt[3]*E^((6*a)/b)*Sqrt[-((a + b*ArcCosh[c*x])/b)]*Gamma[3/2, (3*(a +
 b*ArcCosh[c*x]))/b]))/(72*c^3*E^((3*a)/b)*Sqrt[-((a + b*ArcCosh[c*x])^2/b^2)])

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*arccosh(c*x))^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b \operatorname {arcosh}\left (c x\right ) + a} x^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*arccosh(c*x))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*arccosh(c*x) + a)*x^2, x)

________________________________________________________________________________________

maple [F(-2)]  time = 180.00, size = 0, normalized size = 0.00 \[ \int x^{2} \sqrt {a +b \,\mathrm {arccosh}\left (c x \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a+b*arccosh(c*x))^(1/2),x)

[Out]

int(x^2*(a+b*arccosh(c*x))^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b \operatorname {arcosh}\left (c x\right ) + a} x^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*arccosh(c*x))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*arccosh(c*x) + a)*x^2, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \[ \int x^2\,\sqrt {a+b\,\mathrm {acosh}\left (c\,x\right )} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a + b*acosh(c*x))^(1/2),x)

[Out]

int(x^2*(a + b*acosh(c*x))^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{2} \sqrt {a + b \operatorname {acosh}{\left (c x \right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(a+b*acosh(c*x))**(1/2),x)

[Out]

Integral(x**2*sqrt(a + b*acosh(c*x)), x)

________________________________________________________________________________________